<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.js">
    </script>
</head>
<body>
<div id="screen"></div>
<script>
    $(document).ready(function(){
        $.ajax({
            type : "GET",
            url : "http://hq.sinajs.cn/list=sh601006",
            dataType : "script",
            cache : "false",
            timeout : 2000,
            success : function(data, textStatus, jqXHR) {
                console.log(hq_str_sh601006);
                var str = hq_str_sh601006.split(",");
               document.getElementById("screen").innerHTML=str;
            },
            error : function() {
                alert("出错了！");
            }
        });
    })
</script>
</body>
</html>